<?php
/*
File Name: Wordpress Theme Toolkit
Version: 1.1.x
Author: Ozh  *** Modified by Scott Allan Wallick for his purposes (themes): http://www.plaintxt.org/themes/
Author URI: http://planetOzh.com/
*/

if( function_exists('register_sidebar') ) {
	register_sidebar( array (
		'name' => 'Main Sidebar',
	) );
}
function widget_mytheme_search() {
?>
<li id="search">
	<h2><label for="s">Search</label></h2>
	<form id="searchform" method="get" action="<?php bloginfo('home'); ?>/">
		<div>
			<input id="s" name="s" type="text" value="<?php echo wp_specialchars($s, 1); ?>" size="5" tabindex="1" />
			<input id="searchsubmit" name="searchsubmit" type="submit" value="Find" tabindex="2"/>
		</div>
	</form> 
</li>
<?php
}
if ( function_exists('register_sidebar_widget') )
    register_sidebar_widget(__('Search'), 'widget_mytheme_search');
?>